@keyframes DropDownAnimation {
    0% {
        bottom: 20px;
        opacity: 0;
    }
    100% {
        bottom: 100%;
        opacity: 1;
    }
}
@keyframes DropUpAnimation {
    0% {
        bottom: 100%;
        opacity: 1;
    }
    100% {
        bottom: 20px;
        opacity: 0;
    }
}
@keyframes DropArrowAnimation {
    0% {
        transform: scale(0.6) rotate(0);
    }
    100% {
        transform: scale(0.6) rotate(180deg);
    }
}
@keyframes DropArrow2Animation {
    100% {
        transform: scale(0.6) rotate(0);
    }
    0% {
        transform: scale(0.6) rotate(180deg);
    }
}
.ideaGroupCut {
    position: relative;
    overflow: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    height:510px;
    width: 256px;
    &::-webkit-scrollbar {
        display: none;
    }
    &:hover {
        &::-webkit-scrollbar {
            display: block;
        }
    }
    .ideaGroup {
        position: absolute;
        width: 242px;
        top: 0;
        left: 0;
    }
    .ideoItem {
        padding-top: 10px;
        margin-bottom: 10px;
        h4 {
            margin-bottom: 5px;
            font-size: 14px;
            color: #D2DFEB;
        }
        &.stylus {
            margin-bottom: 0;
            ul {
                display: flex;
                justify-content: space-between;
                flex-wrap: wrap;
                li {
                    position: relative;
                    width: 74px;
                    height: 64px;
                    margin-bottom: 10px;
                    border-radius: 5px;
                    overflow: hidden;
                    cursor: pointer;
                    img {
                        display: block;
                        width: 100%;
                        height: 100%;
                    }
                    span {
                        position: absolute;
                        width: 100%;
                        height: 22px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        bottom: 0;
                        background: rgba(31, 26, 27, 0.6);
                        color: #fff;
                        font-size: 12px;
                    }
                    &.active {
                        border: 2px solid transparent;
                        border-color: #00D1FF;
                        box-sizing: border-box;
                    }
                }
            }
        }
        &.quality {
            ul {
                display: flex;
                align-items: center;
                li {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 74px;
                    height: 36px;
                    margin-right: 10px;
                    background: transparent;
                    border-radius: 5px;
                    border: 1px solid #3D4A79;
                    color: #D2DFEB;
                    font-size: 12px;
                    cursor: pointer;
                    box-sizing: border-box;
                    &:nth-child(3){
                        margin-right: 0;
                    }
                    b{
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: 22px;
                        height: 20px;
                        margin-right: 5px;
                        i{
                            border:1px solid #D2DFEB;
                            border-radius: 3px;
                        }
                    }
                    &.format1{
                        b{
                            i{
                                width: 12px;
                                height: 20px;
                            }
                        }
                    }
                    &.format2{
                        b{
                            i{
                                width: 22px;
                                height: 12px;
                            }
                        }
                    }
                    &.format3{
                        b{
                            i{
                                width: 18px;
                                height: 18px;
                            }
                        }
                    }
                    &.active {
                        border-color: #00D1FF;
                    }
                }
            }
        }
    }
}
.ideaPopup {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 272px;
    box-sizing: border-box;
    padding: 15px;
    padding-top: 0;
    border-radius: 5px;
    background-color: #263055;
    color:#fff;
    box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.1);
    animation: DropUpAnimation 0.3s forwards;
    cursor: default;
    display: none;
    &.active{
        display: block;
        animation: DropDownAnimation 0.3s forwards;
    }
    .triangle {
        position: absolute;
        width: 16px;
        height: 16px;
        left: 22%;
        transform: translateX(-50%);
        bottom: -16px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        &:after {
            content: '';
            position: absolute;
            top: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border: 16px solid transparent;
            border-top-color: #fff;
            box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.1);
        }
    }
    h3 {
        position: relative;
        display: flex;
        align-items: center;
        height: 42px;
        border-bottom: 1px solid #3D4A79;
        font-size: 16px;
        color: #fff;
        .bulb {
            margin-right: 5px;
        }
        .close {
            position: absolute;
            width: 20px;
            height: 20px;
            right: 0;
            top: 54%;
            transform: translateY(-50%);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            i {
                font-size: 12px;
            }
        }
    }
}
